<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class Home\Controller\BaseController | XY Server API alpha</title>

	<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
				<li>
					<a href="namespace-Behavior.html">
						Behavior					</a>

						</li>
				<li>
					<a href="namespace-DatebaseSQL.html">
						DatebaseSQL					</a>

						</li>
				<li>
					<a href="namespace-Doc.html">
						Doc					</a>

						</li>
				<li>
					<a href="namespace-ErrorCode.html">
						ErrorCode					</a>

						</li>
				<li class="active">
					<a href="namespace-Home.html">
						Home<span></span>
					</a>

						<ul>
				<li class="active">
					<a href="namespace-Home.Controller.html">
						Controller					</a>

						</li>
				<li>
					<a href="namespace-Home.Model.html">
						Model					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-None.html">
						None					</a>

						</li>
				<li>
					<a href="namespace-Think.html">
						Think					</a>

						</li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Home.Controller.AccountController.html">AccountController</a></li>
				<li><a href="class-Home.Controller.ApplyController.html">ApplyController</a></li>
				<li><a href="class-Home.Controller.AuthController.html">AuthController</a></li>
				<li class="active"><a href="class-Home.Controller.BaseController.html">BaseController</a></li>
				<li><a href="class-Home.Controller.CarlicenseController.html">CarlicenseController</a></li>
				<li><a href="class-Home.Controller.CompanyController.html">CompanyController</a></li>
				<li><a href="class-Home.Controller.ConfigController.html">ConfigController</a></li>
				<li><a href="class-Home.Controller.ContactController.html">ContactController</a></li>
				<li><a href="class-Home.Controller.CusListController.html">CusListController</a></li>
				<li><a href="class-Home.Controller.DepartmentController.html">DepartmentController</a></li>
				<li><a href="class-Home.Controller.EmptyController.html">EmptyController</a></li>
				<li><a href="class-Home.Controller.EverydaySummarySheetController.html">EverydaySummarySheetController</a></li>
				<li><a href="class-Home.Controller.FaceRecController.html">FaceRecController</a></li>
				<li><a href="class-Home.Controller.FeedbackController.html">FeedbackController</a></li>
				<li><a href="class-Home.Controller.FinanceController.html">FinanceController</a></li>
				<li><a href="class-Home.Controller.GeneratorController.html">GeneratorController</a></li>
				<li><a href="class-Home.Controller.GoodController.html">GoodController</a></li>
				<li><a href="class-Home.Controller.HomeController.html">HomeController</a></li>
				<li><a href="class-Home.Controller.IndexController.html" class="invalid">IndexController</a></li>
				<li><a href="class-Home.Controller.InstallController.html">InstallController</a></li>
				<li><a href="class-Home.Controller.LoginController.html">LoginController</a></li>
				<li><a href="class-Home.Controller.OrderController.html">OrderController</a></li>
				<li><a href="class-Home.Controller.OtherController.html">OtherController</a></li>
				<li><a href="class-Home.Controller.ParkaddressController.html">ParkaddressController</a></li>
				<li><a href="class-Home.Controller.PaybillController.html">PaybillController</a></li>
				<li><a href="class-Home.Controller.PaymentDetailsController.html">PaymentDetailsController</a></li>
				<li><a href="class-Home.Controller.PhonenumController.html">PhonenumController</a></li>
				<li><a href="class-Home.Controller.PrintTemplateController.html">PrintTemplateController</a></li>
				<li><a href="class-Home.Controller.QnUploadController.html">QnUploadController</a></li>
				<li><a href="class-Home.Controller.QueryController.html">QueryController</a></li>
				<li><a href="class-Home.Controller.RealDataGeneratorController.html">RealDataGeneratorController</a></li>
				<li><a href="class-Home.Controller.SkuStorageController.html">SkuStorageController</a></li>
				<li><a href="class-Home.Controller.SmsDetailsController.html">SmsDetailsController</a></li>
				<li><a href="class-Home.Controller.StatementOfAccountController.html">StatementOfAccountController</a></li>
				<li><a href="class-Home.Controller.StorageController.html">StorageController</a></li>
				<li><a href="class-Home.Controller.UpdateController.html">UpdateController</a></li>
				<li><a href="class-Home.Controller.UpdateDatabaseFormatController.html">UpdateDatabaseFormatController</a></li>
				<li><a href="class-Home.Controller.UserAccountController.html">UserAccountController</a></li>
				<li><a href="class-Home.Controller.UserController.html">UserController</a></li>
				<li><a href="class-Home.Controller.UtilController.html">UtilController</a></li>
				<li><a href="class-Home.Controller.WarehouseController.html">WarehouseController</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-Home.Controller.html" title="Summary of Home\Controller"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
				<li>
					<a href="annotation-group-api.html" title="List of elements with api annotation">
						<span>Api</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-version.html" title="List of elements with version annotation">
						<span>Version</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-since.html" title="List of elements with since annotation">
						<span>Since</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-deprecated.html" title="List of elements with deprecated annotation">
						<span>Deprecated</span>
					</a>
				</li>
				<li>
					<a href="annotation-group-todo.html" title="List of elements with todo annotation">
						<span>Todo</span>
					</a>
				</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class BaseController</h1>


	<div class="description">
	<p>最基础的前台公共控制器，没有权限之分.</p>

<ul>
<li>参考文档：<code><a href="function-Doc.doc_view.html">Doc\doc_view()</a></code></li>
<li>错误代码：<code><a href="class-ErrorCode.ErrorCode.html">ErrorCode\ErrorCode</a></code></li>
</ul>

<p><img src="http://php.net/manual/zh/json.constants.php" alt="json编码json_option" />:
JSON_FORCE_OBJECT:使一个非关联数组输出一个类（Object）而非数组。 在数组为空而接受者需要一个类（Object）的时候尤其有用。 自 PHP 5.3.0 起生效。</p>
	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-Think.Controller.html"><span>Think\Controller</span></a>
			
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by">
<b><span>Home\Controller\BaseController</span></b>			
			
			
		</dd>
	</dl>


	<div>
		<h4>Direct known subclasses</h4>
			<a href="class-Home.Controller.ApplyController.html">Home\Controller\ApplyController</a>, 
			<a href="class-Home.Controller.EmptyController.html">Home\Controller\EmptyController</a>, 
			<a href="class-Home.Controller.GeneratorController.html">Home\Controller\GeneratorController</a>, 
			<a href="class-Home.Controller.HomeController.html">Home\Controller\HomeController</a>, 
			<a href="class-Home.Controller.InstallController.html">Home\Controller\InstallController</a>, 
			<a href="class-Home.Controller.LoginController.html">Home\Controller\LoginController</a>, 
			<a href="class-Home.Controller.StatementOfAccountController.html">Home\Controller\StatementOfAccountController</a>, 
			<a href="class-Home.Controller.UpdateController.html">Home\Controller\UpdateController</a>, 
			<a href="class-Home.Controller.UtilController.html">Home\Controller\UtilController</a>
	</div>

	<div>
		<h4>Indirect known subclasses</h4>
			<a href="class-Home.Controller.AccountController.html">Home\Controller\AccountController</a>, 
			<a href="class-Home.Controller.AuthController.html">Home\Controller\AuthController</a>, 
			<a href="class-Home.Controller.FeedbackController.html">Home\Controller\FeedbackController</a>, 
			<a href="class-Home.Controller.FinanceController.html">Home\Controller\FinanceController</a>, 
			<a href="class-Home.Controller.GoodController.html">Home\Controller\GoodController</a>, 
			<a href="class-Home.Controller.OrderController.html">Home\Controller\OrderController</a>, 
			<a href="class-Home.Controller.OtherController.html">Home\Controller\OtherController</a>, 
			<a href="class-Home.Controller.ParkaddressController.html">Home\Controller\ParkaddressController</a>, 
			<a href="class-Home.Controller.PaybillController.html">Home\Controller\PaybillController</a>, 
			<a href="class-Home.Controller.PaymentDetailsController.html">Home\Controller\PaymentDetailsController</a>, 
			<a href="class-Home.Controller.PhonenumController.html">Home\Controller\PhonenumController</a>, 
			<a href="class-Home.Controller.PrintTemplateController.html">Home\Controller\PrintTemplateController</a>, 
			<a href="class-Home.Controller.CarlicenseController.html">Home\Controller\CarlicenseController</a>, 
			<a href="class-Home.Controller.QnUploadController.html">Home\Controller\QnUploadController</a>, 
			<a href="class-Home.Controller.QueryController.html">Home\Controller\QueryController</a>, 
			<a href="class-Home.Controller.RealDataGeneratorController.html">Home\Controller\RealDataGeneratorController</a>, 
			<a href="class-Home.Controller.SkuStorageController.html">Home\Controller\SkuStorageController</a>, 
			<a href="class-Home.Controller.SmsDetailsController.html">Home\Controller\SmsDetailsController</a>, 
			<a href="class-Home.Controller.StorageController.html">Home\Controller\StorageController</a>, 
			<a href="class-Home.Controller.UpdateDatabaseFormatController.html">Home\Controller\UpdateDatabaseFormatController</a>, 
			<a href="class-Home.Controller.UserAccountController.html">Home\Controller\UserAccountController</a>, 
			<a href="class-Home.Controller.UserController.html">Home\Controller\UserController</a>, 
			<a href="class-Home.Controller.WarehouseController.html">Home\Controller\WarehouseController</a>, 
			<a href="class-Home.Controller.CompanyController.html">Home\Controller\CompanyController</a>, 
			<a href="class-Home.Controller.ConfigController.html">Home\Controller\ConfigController</a>, 
			<a href="class-Home.Controller.ContactController.html">Home\Controller\ContactController</a>, 
			<a href="class-Home.Controller.CusListController.html">Home\Controller\CusListController</a>, 
			<a href="class-Home.Controller.DepartmentController.html">Home\Controller\DepartmentController</a>, 
			<a href="class-Home.Controller.EverydaySummarySheetController.html">Home\Controller\EverydaySummarySheetController</a>, 
			<a href="class-Home.Controller.FaceRecController.html">Home\Controller\FaceRecController</a>
	</div>





	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-Home.html">Home</a>\<a href="namespace-Home.Controller.html">Controller</a><br>
		

				<b>Todo:</b>
				JSON_HEX_TAG|JSON_HEX_AMP|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_UNESCAPED_UNICODE<br>
			<b>Located at</b> <a href="source-class-Home.Controller.BaseController.html#14-348" title="Go to source code">Home/Controller/BaseController.class.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="_empty" id="__empty">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__empty">#</a>
		<code><a href="source-class-Home.Controller.BaseController.html#29-33" title="Go to source code">_empty</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="fatalError" id="_fatalError">

		<td class="attributes"><code>
			 public static

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_fatalError">#</a>
		<code><a href="source-class-Home.Controller.BaseController.html#224-244" title="Go to source code">fatalError</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="appError" id="_appError">

		<td class="attributes"><code>
			 public static

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_appError">#</a>
		<code><a href="source-class-Home.Controller.BaseController.html#248-276" title="Go to source code">appError</a>( <span>integer <var>$errno</var></span>, <span>string <var>$errstr</var></span>, <span>string <var>$errfile</var></span>, <span>integer <var>$errline</var></span> )</code>

		<div class="description short">
			<p>自定义错误处理</p>
		</div>

		<div class="description detailed hidden">
			<p>自定义错误处理</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$errno</var></dt>
					<dd>错误类型</dd>
					<dt><var>$errstr</var></dt>
					<dd>错误信息</dd>
					<dt><var>$errfile</var></dt>
					<dd>错误文件</dd>
					<dt><var>$errline</var></dt>
					<dd>错误行数</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="appException" id="_appException">

		<td class="attributes"><code>
			 public static

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_appException">#</a>
		<code><a href="source-class-Home.Controller.BaseController.html#280-309" title="Go to source code">appException</a>( <span>mixed <var>$e</var></span> )</code>

		<div class="description short">
			<p>自定义异常处理</p>
		</div>

		<div class="description detailed hidden">
			<p>自定义异常处理</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$e</var></dt>
					<dd>异常对象</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="halt" id="_halt">

		<td class="attributes"><code>
			 public static

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_halt">#</a>
		<code><a href="source-class-Home.Controller.BaseController.html#314-347" title="Go to source code">halt</a>( <span>mixed <var>$error</var></span> )</code>

		<div class="description short">
			<p>错误输出</p>
		</div>

		<div class="description detailed hidden">
			<p>错误输出</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$error</var></dt>
					<dd>错误</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-Think.Controller.html#methods">Think\Controller</a></caption>
	<tr>
		<td><code>
			<a href="class-Think.Controller.html#___call">__call()</a>, 
			<a href="class-Think.Controller.html#___construct">__construct()</a>, 
			<a href="class-Think.Controller.html#___destruct">__destruct()</a>, 
			<a href="class-Think.Controller.html#___get">__get()</a>, 
			<a href="class-Think.Controller.html#___isset">__isset()</a>, 
			<a href="class-Think.Controller.html#___set">__set()</a>, 
			<a href="class-Think.Controller.html#_get">get()</a>
		</code></td>
	</tr>
	</table>

















</div>

	<div id="footer">
		XY Server API alpha API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
